$(function(){
  // CSS
  $("head").append('<link rel="stylesheet" href="http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4nivoslider/themes/default/default.css" type="text/css" media="screen" />');
  $("head").append('<link rel="stylesheet" href="http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4nivoslider/themes/pascal/pascal.css" type="text/css" media="screen" />');
  $("head").append('<link rel="stylesheet" href="http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4nivoslider/themes/orman/orman.css" type="text/css" media="screen" />');
  $("head").append('<link rel="stylesheet" href="http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4nivoslider/nivo-slider.css" type="text/css" media="screen" />');

  // javascript
  $.getScript("http://ameblo-ev-js.googlecode.com/svn/trunk/ameblo4nivoslider/jquery.nivo.slider.pack.js", function(){
    $('#image-slider').nivoSlider({
      slices: 15,
      animSpeed : 1500,
      directionNav: false,
      controlNav: false,
      pauseTime:5000,
      pauseOnHover:true
    });
  });
});


